package com.cangxuan.manage.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/*
    Author:程佳逸
    用户实体类
    */
@Data
public class User implements Serializable {
    private Integer id;
    private String mobile;              //手机号码
    private String nickname;            //昵称
    private String face;
    private String transPassword;      //交易密码
    private String realName;           //真实姓名
    private String idcard;              //身份证号码
    private String uid;
    private String blockchainAddress;
    private LocalDate regTime;         //注册时间
    private Boolean subscribeToTheSalesCalendar;    //是否订阅发售日历，默认为0
    private Boolean displayMyGoods;   //是否展示我的藏品，默认为0
    private Boolean displayMySellGoods;  //是否展示我出售的藏品，默认为0
    private Boolean available;  //是否可用，1：可用，能够正常登录，0：冻结，不可登录

    private Integer realNameInfo;

}
